recover_mp4 v1.92
(C) 2011-2017   <slydiman@mail.ru>
http://slydiman.me

    MP4/MOV/3GP .
        
       ..     
         mdat. 

   ,    ,    .
      ,     
R-Studio, Restorer2000, EasyRecovery  . -    .

        ( 5-10 ),
    .      FAT  .
          . 
       .
     ().   .img (     .iso). 
      Restorer2000, WinHex  . 
   16GB,    16GB.
         WinRar'   
    2GB.      - Google Drive, DropBox,
., MEGA  . (   )   .

  : AVC/H.264, HEVC/H.265

  : AAC, ADPCM (Intel), MP3, PCM (LE, BE, float), RAW

      .

  :

  recover_mp4 in_good_similar.mp4 --analyze
  recover_mp4 in_corrupted.mp4 {out_video.h264 | out_video.hevc | --novideo}
                      [out_audio.aac | out_audio.wav | out_audio.mp3 | out_audio.raw | --noaudio] [options]
:
  --start <hex>     read from position (ignore mdat atom)
  --end <hex>       end position (ignore mdat atom). Specify 0 for EOF
  --avcidrmax <hex> ignore AVC NAL units (IDR) with the size above than <hex> bytes
  --avcxmax <hex>   ignore AVC NAL units (non IDR) with the size above than <hex> bytes
  --aaclong
  --aacmin <hex>  
  --pcmmin <hex>  
  --pcmfix <hex>  
  --verbose  

  --gopro4        use Ambarella templates and detect GoPro4 specific data (default for MP4 files)
  --ambarella     use Ambarella templates (ignore GoPro4 specific data)
  --lav           use Lav/ffmpeg templates
  --mainconcept   use Mainconcept templates
  --novatek       use car DVR templates based on Novatek (DV turnkey, Street Guardian, etc.)
  --qt            use QuickTime templates (default for MOV files)
  --iphone4       use iPhone4 templates
  --eos           use Canon EOS 5D Mark II, 7D, 550D templates
  --eos3          use Canon EOS 5D Mark III, 7D Mark II, 100D templates
  --eos4          use Canon EOS 5D Mark IV templates
  --canon         use Canon SX, EOS 80D templates
  --vmix          use vMix templates
  --wowza         use Wowza templates
  --blackmagic    use BlackMagic templates
  --avermedia     use AVerMedia Live Gamer Portable C875 templates
  --lumia         use Lumia templates
  --panasonic     use Panasonic DMC-G7, DMC-GX80, DMC-G85, DMC-GH4, DC-GH5, HC-X1000 templates
  --sony          use SONY A7S [Mark II], AX1E, NX5R, A6000, HDR-CX405, HDR-CX625 templates
  --drim          use DRIMeIII templates (Samsung NX1000 camcorder)
  --drim5         use DRIMeV HEVC/H.265 templates (Samsung NX1/NX500 camcorder)
  --tomtom        use TomTom Bandit Action Camera templates
  --icat          use iCatch templates
  --cgo3          use cgo3 templates
  --dji.avc       use DJI.AVC Phantom (H.264) templates
  --dji.hvc       use DJI.HVC Phantom (H.265) templates
  --hevc          use generic HEVC/H.265 templates
  --ext           use generic templates for any other camcorder or smartphone, Open Broadcaster Software, etc.

1.      MP4 ,        ,  GOPR0346.MP4
    .

   :
>recover_mp4.exe GOPR0346.MP4 --analyze

      video.hdr  audio.hdr
    ( ).

2.     GOPR0347.MP4

   :

>recover_mp4.exe GOPR0347.MP4 recovered.h264 recovered.aac

       (.     1).

   MOV      PCM  ADPCM. 
     3-      .wav

>recover_mp4_to_h264.exe bad.mov recovered.h264 recovered.wav

3.   recovered.h264  recovered.aac   MP4/MOV     ffmpeg (   http://ffmpeg.org/download.html)
  1      ffmpeg.

  AAC,  ffmpeg    Yamb 
(   http://yamb.unite-video.com/download.html)
 Yamb,  Create (),   recovered.h264  recovered.aac,
      ,  recovered.mp4

  ffmpeg:

>ffmpeg.exe -r 30 -i recovered.h264 -i recovered.aac -bsf:a aac_adtstoasc -c:v copy --c:a copy recovered.mp4

  PCM:

>ffmpeg.exe -r 30 -i recovered.h264 -i recovered.wav -c:v copy -c:a copy recovered.mov

  ADPCM:

>ffmpeg.exe -r 30 -i recovered.h264 -i recovered.wav -c:v copy -c:a adpcm_ima_wav recovered.mov

   30 -   .  . 
   ,         .
 29.97   30000/1001
